Example: Support for unknown empty elements


For the purposes of this example, assume the <HR> tag is new to HTML and not yet directly supported by WebObjects. You could use WOGenericElement to generate the <HR> tag, allowing its attributes to be determined dynamically. Here's an example that lets the user set the width of the rule.

Set the width of the horizontal rule below to (0-500):